package com.fc.test.mapper.custom;

import com.fc.test.model.custom.TEventsTurntable;
import com.fc.test.model.custom.TEventsTurntableExample;

import java.util.List;

/**
 * describe: 转盘活动奖励操作接口
 *
 * @author xugang
 * @date 2018/9/20 0:53
 */
public interface TEventsTurntableDao {

    /**
     * 根据手机号码查询用户获奖记录
     *
     * @param mobilePhone
     * @return
     */
    public TEventsTurntable queryRecordsByMobilePhone(String mobilePhone);

    /**
     * 保存用户获奖记录
     *
     * @param turntable
     */
    public void saveWinningRecords(TEventsTurntable turntable);

    /**
     * 查询活动用户中奖信息列表
     *
     * @param tEventsTurntableExample
     * @return
     */
    List<TEventsTurntable> selectByExample(TEventsTurntableExample tEventsTurntableExample);
}
